<!-- 会员消息 -->
<style>
     a.member_items:hover{
        cursor: pointer;
        color:red;
    }
</style>
<?php $id="form_".uniqid();?>
<table id="<?php echo $id;?>"></table>
<script>
    $("#<?php echo $id;?>").DataSource({url:'stats/get_info_list',
        fields:[
            [
                {field:'t1',title:'标题',align:'center',width:200,sortable:true},
                {field:'t2',title:'内容',align:'center',width:500,sortable:true},
                {field:'t3',title:'发送日期',align:'center',width:200,sortable:true},
                {field:'t4',title:'操作', align:'center', width:200,  sortable:true},
            ]

       ], tools:[
            {instant:false},
            <?php if(in_array('ADD',$auth)){?>
            {text:"发布新消息",iconCls:"icon-add",handler:function(){
                $('#<?php echo $id?>').DataSource('add',{title:'发送消息',get:'stats/release_news?>',full:false});
            }},
            <?php }?>
            
            '|',
			{type:'datebox', text:'日期', width:100,name:'qaddtime'},
			{type:'datebox', text:'-', width:100,name:'zaddtime'},
            {type:'combobox',text:'类型',width:40,name:'verify_type',value:'', items:'<option value="">全部</option><option value="1">普通通知</option><option value="2">优惠通知</option><option value="3">出入款通知</option>'},
			{type:'textbox', text:'账号', width:100,name:'member_account'},
			{text:"查询", iconCls:"icon-search", handler:function(){
				$('#<?php echo $id?>').DataSource('search');
			}},
		'-'
        ],
        checkbox:false,
        edit:true,
        footer:true,
        success:function(){

        }
    });

</script>